package com.example.wn;

import com.example.wn.annotation.EnableLogAspect;
import com.example.wn.properties.MinioProperties;
import com.example.wn.properties.UserAuthProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableAsync
@EnableLogAspect
@EnableScheduling
@EnableConfigurationProperties(value = {MinioProperties.class, UserAuthProperties.class})
@SpringBootApplication
public class ManagerApplication {
    public static void main(String[] args) {
        try {
            SpringApplication.run(ManagerApplication.class, args);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
